package day1130;

public class StudentInfo {
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public StudentInfo() {
		super();
	}
	public StudentInfo(String id, String name, String major) {
		super();
		this.id = id;
		this.name = name;
		this.major = major;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getMajor() {
		return major;
	}
	public void setMajor(String major) {
		this.major = major;
	}
	public String toString() {
		return id+" "+name+" "+major;
	}
	private String id;
	private String name;
	private String major;
   

}
